package com.icefish.bean;

import java.util.Date;

/**
 * Description:  表comment
 * Date: 2022/11/30 23:06
 * Author: 26480
 * @since JDK 1.8
 */
public class Comment {
    // 属性
    private Integer says_id;
    private Date says_time;
    private String says;
    private Integer goods_id;
    private Integer user_id;
    private String username;
    private Integer order_id;

    // 构造器

    public Comment() {
    }

    public Comment(Integer says_id, Date says_time, String says, Integer goods_id, Integer user_id, String username,Integer order_id) {
        this.says_id = says_id;
        this.says_time = says_time;
        this.says = says;
        this.goods_id = goods_id;
        this.user_id = user_id;
        this.username = username;
        this.order_id = order_id;
    }


    // toString()

    @Override
    public String toString() {
        return "Comment{" +
                "says_id=" + says_id +
                ", says_time=" + says_time +
                ", says='" + says + '\'' +
                ", goods_id=" + goods_id +
                ", user_id=" + user_id +
                ", username='" + username + '\'' +
                ", order_id=" + order_id +
                '}';
    }


    // getter() adn setter()


    public Integer getSays_id() {
        return says_id;
    }

    public void setSays_id(Integer says_id) {
        this.says_id = says_id;
    }

    public Date getSays_time() {
        return says_time;
    }

    public void setSays_time(Date says_time) {
        this.says_time = says_time;
    }

    public String getSays() {
        return says;
    }

    public void setSays(String says) {
        this.says = says;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }
}
